|
Foxit PDF SDK
|
继承自 FoxitPDFSDKPython3._object .
Public 成员函数 | |
| def | FontMapResult () |
| 构造函数。 | |
| def | FontMapResult (file_read, face_index) |
| 带参数的构造函数。 更多... | |
| def | FontMapResult (other) |
| 使用另一个字体映射结果对象的构造函数。 更多... | |
| def | Set (file_read, face_index) |
| 设置值。 更多... | |
静态 Public 属性 | |
| face_index = _fsdk.FontMapResult_face_index | |
| 字体面索引。这是基于零的索引值: 更多... | |
| file_read = _fsdk.FontMapResult_file_read | |
| 由用户实现的 FoxitPDFSDKPython3.FileReaderCallback 对象。Foxit PDF SDK将使用此 回调对象来读取映射字体的数据。如果这是 null,意味着没有映射字体。 | |
此类表示由回调函数 FoxitPDFSDKPython3.FontMapperCallback.MapFont 返回的字体映射结果。
| def FoxitPDFSDKPython3.FontMapResult.FontMapResult | ( | file_read, | |
| face_index | |||
| ) |
带参数的构造函数。
| [in] | file_read | 由用户实现的 FoxitPDFSDKPython3.FileReaderCallback 对象。Foxit PDF SDK将使用此 回调对象来读取映射字体的数据。如果这是 null,意味着没有映射字体。 |
| [in] | face_index | 基于零的索引值:
|
| def FoxitPDFSDKPython3.FontMapResult.FontMapResult | ( | other | ) |
使用另一个字体映射结果对象的构造函数。
| [in] | other | 另一个字体映射结果对象。 |
| def FoxitPDFSDKPython3.FontMapResult.Set | ( | file_read, | |
| face_index | |||
| ) |
设置值。
| [in] | file_read | 由用户实现的 FoxitPDFSDKPython3.FileReaderCallback 对象。Foxit PDF SDK将使用此 回调对象来读取映射字体的数据。如果这是 null,意味着没有映射字体。 |
| [in] | face_index | 基于零的索引值:
|
|
static |
字体面索引。这是基于零的索引值:
如果映射的字体(由 file_read 表示)是"集合"(意味着 多个字体面存储在同一文件中),此索引值表示映射字体面的索引。
如果映射的字体(由 file_read 表示)不是集合,索引值应为零。
-1表示没有映射字体。